<!DOCTYPE html>
<html>
  <head>
    <title>Занятие 4: Список друзей</title>
  </head>

  <script src="index.js"></script>
  <body>
    <script>
      let friends = [
        {
          firstName: 'Artsiom',
          lastName: 'Mezin'
        },
        {
          firstName: 'Ilia',
          lastName: 'Kantor'
        },
        {
          firstName: 'Christopher',
          lastName: 'Michael'
        }
      ];

      document.body.appendChild(makeFriendsList(friends));
    </script>
  </body>
</html>
